package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.common.model.PageResult;
import com.jzo2o.customer.model.domain.AgencyCertificationAudit;
import com.jzo2o.customer.model.dto.request.AgencyCertificationAuditAddReqDTO;
import com.jzo2o.customer.model.dto.request.AgencyCertificationAuditPageQueryReqDTO;
import com.jzo2o.customer.model.dto.request.CertificationAuditReqDTO;
import com.jzo2o.customer.model.dto.response.AgencyCertificationAuditResDTO;
import com.jzo2o.customer.model.dto.response.RejectReasonResDTO;

/**
 * @author: lxr
 * @Date: 2025/09/17 14:54
 * @Description:
 */
public interface IAgencyCertificationAuditService extends IService<AgencyCertificationAudit> {
    /*
    **提交认证申请
     */
    void applyCertification(AgencyCertificationAuditAddReqDTO agencyCertificationAuditAddReqDTO);

    /*
    **查询最新的驳回原因
     */
    RejectReasonResDTO queryCurrentUserLastRejectReason();

    /*
     **机构认证审核信息分页查询
     */
    PageResult<AgencyCertificationAuditResDTO> pageQuery(AgencyCertificationAuditPageQueryReqDTO agencyCertificationAuditPageQueryReqDTO);

    /*
     **审核机构认证信息
     */
    void auditCertification(Long id, CertificationAuditReqDTO certificationAuditReqDTO);
}
